package com.pjs.tdd;

import java.math.BigInteger;
import java.security.SecureRandom;

public class SimpleReferenceGenerator implements ReferenceGenerator{
	
		private static final int LENGTH = 8;

		private SecureRandom random = new SecureRandom();

		public String nextReference() {
			return new BigInteger(130, random).toString(LENGTH);
		}

	}
